/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Project;

import Common.IAttribute;
import Common.IUnit;

/**
 *
 * @author Администратор
 */
public class Attribute  implements IAttribute{
    int uid;
    IUnit Owner;
    String Name;
    Object Value;
    public Attribute(IUnit owner, String name)
    {
        this.uid = -1;
        this.Owner = owner;
        this.Name = name;
    }

    //<editor-fold defaultstate="collapsed" desc="Initialize IAttribute">
    public int getUID() {
        return this.uid;
    }

    public void setUID(int uid) {
        this.uid = uid;
    }

    public IUnit getOwner() {
        return this.Owner;
    }

    public void setOwner(IUnit owner){
        this.Owner=owner;
    }

    public String getName() {
        return this.Name;
    }

    public void setName(String name){
        this.Name=name;
    }

    public Object getValue() {
        return this.Value;
    }

    public void setValue(Object value) {
        this.Value = value;
    }
    // </editor-fold>
}
